package models

type DrugType struct {
	TypeID   int    `db:"type_id" json:"typeID,string"`
	TypeName string `db:"type_name" json:"typeName"`
}

type Drug struct {
	DrugID       int64   `db:"drug_id" json:"drugID,string"`
	DrugName     string  `db:"drug_name" json:"drugName"`
	DrugSpecs    string  `db:"drug_specs" json:"drugSpecs"`
	DrugPrice    float64 `db:"drug_price" json:"drugPrice"`
	DrugTypeName string  `db:"type_name" json:"drugTypeName"`
}

type DrugAndType struct {
	TypeID int   `db:"type_id"`
	DrugID int64 `db:"drug_id"`
}
